<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="common/header.jsp"%>
<div class="clearfix"></div>
<div class="row">
  <div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
      <div class="x_title">
        <h2>添加字典 <i class="fa fa-user"></i><small>${userSession.userName}</small></h2>
        <div class="clearfix"></div>
      </div>
      <div class="x_title">
        <h2>添加字典</h2>
        <div class="clearfix"></div>
      </div>
      <div class="x_content1">
        <form class="form-horizontal form-label-left" action="checksave" method="post">
          <input type="hidden" name="id">
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12">类型编码 <span class="required">*</span>
            </label>
            <div class="col-md-4 col-sm-6 col-xs-12">
              <input class="form-control col-md-7 col-xs-12" type="text" id="typeCode">
            </div>
          </div>
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12">类型名称 <span class="required">*</span>
            </label>
            <div class="col-md-4 col-sm-6 col-xs-12">
              <input type="text" class="form-control col-md-7 col-xs-12" id="typeName">
            </div>
          </div>

          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12">类型值ID <span class="required">*</span>
            </label>
            <div class="col-md-4 col-sm-6 col-xs-12">
              <input class="form-control col-md-7 col-xs-12" type="text" id="valueId">
            </div>
          </div>
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12">类型值Name <span class="required">*</span>
            </label>
            <div class="col-md-4 col-sm-6 col-xs-12">
              <input class="form-control col-md-7 col-xs-12" type="texttext" id="valueName">
            </div>
          </div>
          <div class="form-group">
            <div class="col-md-6 col-md-offset-3">
              <button type="button" name="status" value="2" class="btn btn-success" id="addUserBtn">添加字典</button>
              <button type="button" class="btn btn-primary" id="back">返回</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <%@include file="common/footer.jsp"%>
  <script src="${pageContext.request.contextPath }/statics/localjs/adddatadictionary.js"></script>
